<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="Bookmark" href="/favicon.ico">
	<link rel="Shortcut Icon" href="/favicon.ico" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="__UU__/lib/html5.js"></script>
	<script type="text/javascript" src="__UU__/lib/respond.min.js"></script>
	<script type="text/javascript" src="__UU__/lib/PIE_IE678.js"></script>
	<![endif]-->
	<link href="__UU__/css/H-ui.min.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/css/H-ui.admin.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
	<link href="__UU__/css/style.css" rel="stylesheet" type="text/css" /> 
	
	<!--[if IE 6]>
	<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
	<script>DD_belatedPNG.fix('*');</script>
	<![endif]-->
	<title>添加</title>
</head>
<body>
	<div class="pd-20">
		<table class="table table-border table-bordered table-hover table-bg table-sort">
			<thead>
				<tr>
					<th>活动日期</th>
					<th>时间</th>
					<th>价格</th>
					<th>可购总数</th>
					<th>已购</th>
					<th>还可购</th>
				</tr>
			</thead>
			<tbody>
			<volist name="list" id="vo">
				<tr>
					<td><if condition="$vo.activity_start_date eq '0000-00-00'">长期有效<else/>{$vo.activity_start_date}</if></td>
					<td>{$vo.activity_start_time} - {$vo.activity_end_time}</td>
					<td>￥{$vo.true_price}</td>
					<td><if condition="$vo.number eq '-1'">无限<else/>{$vo['number']+$vo['yi_shou']}</if></td>
					<td>{$vo.yi_shou}</td>
					<td><if condition="$vo.number eq '-1'">无限<else/>{$vo.number}</if></td>
				</tr>
			</volist>
				<!-- <tr>
					<td>2014-12-31</td>
					<td>18:30:00 - 21:00:00</td>
					<td>￥200</td>
					<td>1200</td>
					<td>699</td>
					<td>501</td>
				</tr>
				<tr>
					<td>2014-12-31</td>
					<td>18:30:00 - 21:00:00</td>
					<td>￥200</td>
					<td>1200</td>
					<td>698</td>
					<td>502</td>
				</tr> -->
			</tbody>
		</table>
		<if condition="$shop_id['is_collect_information'] eq '1'">
		<div style="text-align:center;margin-top:150px;"><a class="btn btn-danger radius" onclick="window.parent.layer_show('查看参与人员','__APP__/Reuse/activity_msg/aid/{$_GET['id']}');">查看参与人员</a></div>
	    </if>
	</div>
<script type="text/javascript" src="__UU__/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__UU__/js/H-ui.js"></script>
<script type="text/javascript" src="__UU__/js/H-ui.admin.js"></script>
<script type="text/javascript" src="__UU__/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script>
$(function (){
		$('.table-sort').dataTable({
			"aaSorting": [[ 0, "desc" ]],//默认第几个排序
			// "bStateSave": true,//状态保存
			"aoColumnDefs": [
			  //{"bVisible": false, "aTargets": [3 ]} //控制列的隐藏显示
			  // {"orderable":false,"aTargets":[6,11]}// 制定列不参与排序
			]
		});
	});
</script>
</body>
</html>
